package com.ctgu.j08.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.j08.vo.DUser;
import com.ctgu.j08.vo.Result;
import com.ctgu.j08.vo.Trouble;
import org.springframework.stereotype.Service;

/**
 * @version 1.0
 * @author: Saiya Wang
 * @date: 2021/6/3 9:57
 */
@Service
public interface TroubleService extends IService<Trouble> {
    /**
     * 更新报修信息
     * @param trouble
     * @return
     */
    public Result editTrouble(Trouble trouble);

    /**
     * 增添报修信息
     * @param trouble
     * @return
     */
    public Result addTrouble(Trouble trouble);

    /**
     * 获取所有报修信息
     * @return
     */
    public Result getAllTroubleInfo();
}
